<%@ page import="java.lang.reflect.Array" %>
<%@ page import="java.util.Arrays" %><%--
        Created by IntelliJ IDEA.
        User: Administrator
        Date: 2022/11/1
        Time: 20:27
        To change this template use File | Settings | File Templates.
        --%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>Title</title>
</head>
<style>
    table{
            border:1px solid black;
            }
            td{
            border:1px solid black;
            }
</style>
<h1>Step3:订单确认</h1>
<body><table>
<tr>
<td>顾客姓名:</td>
<td><%out.print(session.getAttribute("name"));%></td>
</tr>
<tr>
<td>地址:</td>
<td><%out.print(session.getAttribute("address"));%></td>
</tr>
<tr>
<td>付款信息</td>
</tr>
<tr>
<td>信用卡类型</td>
<td><%out.print(Arrays.toString((Object[]) session.getAttribute("types")));%></td>
</tr>
<tr>
<td>卡号:</td>
<td><%out.print(session.getAttribute("username"));%></td>
</tr>
<tr>
<td>订货项目</td>
<td><% out.print(Arrays.toString((Object[]) session.getAttribute("books")));%></td>
</tr>
</table>

</body>
</html>
